Optimal. Leaf size=183 \[ -\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 d (a+b)^3 \sqrt{a-b \tanh ^2(c+d x)+b}}+\frac{\tanh ^{-1}\left (\frac{\sqrt{a} \tanh (c+d x)}{\sqrt{a-b \tanh ^2(c+d x)+b}}\right )}{a^{7/2} d}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 d (a+b)^2 \left (a-b \tanh ^2(c+d x)+b\right )^{3/2}}-\frac{b \tanh (c+d x)}{5 a d (a+b) \left (a-b \tanh ^2(c+d x)+b\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.191089, antiderivative size = 183, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4128, 414, 527, 12, 377, 206} \[ -\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 d (a+b)^3 \sqrt{a-b \tanh ^2(c+d x)+b}}+\frac{\tanh ^{-1}\left (\frac{\sqrt{a} \tanh (c+d x)}{\sqrt{a-b \tanh ^2(c+d x)+b}}\right )}{a^{7/2} d}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 d (a+b)^2 \left (a-b \tanh ^2(c+d x)+b\right )^{3/2}}-\frac{b \tanh (c+d x)}{5 a d (a+b) \left (a-b \tanh ^2(c+d x)+b\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4128
Rule 414
Rule 527
Rule 12
Rule 377
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b \text{sech}^2(c+d x)\right )^{7/2}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{7/2}} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{\operatorname{Subst}\left (\int \frac{-5 a-b-4 b x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{5/2}} \, dx,x,\tanh (c+d x)\right )}{5 a (a+b) d}\\ &=-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}+\frac{\operatorname{Subst}\left (\int \frac{15 a^2+12 a b+5 b^2+2 b (9 a+5 b) x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{3/2}} \, dx,x,\tanh (c+d x)\right )}{15 a^2 (a+b)^2 d}\\ &=-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt{a+b-b \tanh ^2(c+d x)}}-\frac{\operatorname{Subst}\left (\int -\frac{15 (a+b)^3}{\left (1-x^2\right ) \sqrt{a+b-b x^2}} \, dx,x,\tanh (c+d x)\right )}{15 a^3 (a+b)^3 d}\\ &=-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt{a+b-b \tanh ^2(c+d x)}}+\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{a+b-b x^2}} \, dx,x,\tanh (c+d x)\right )}{a^3 d}\\ &=-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt{a+b-b \tanh ^2(c+d x)}}+\frac{\operatorname{Subst}\left (\int \frac{1}{1-a x^2} \, dx,x,\frac{\tanh (c+d x)}{\sqrt{a+b-b \tanh ^2(c+d x)}}\right )}{a^3 d}\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{a} \tanh (c+d x)}{\sqrt{a+b-b \tanh ^2(c+d x)}}\right )}{a^{7/2} d}-\frac{b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac{b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac{b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt{a+b-b \tanh ^2(c+d x)}}\\ \end{align*}
Mathematica [A] time = 7.45835, size = 330, normalized size = 1.8 \[ \frac{\text{sech}^7(c+d x) \left (\frac{15}{4} e^{-7 (c+d x)} \left (a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}\right )^{7/2} \left (\tanh ^{-1}\left (\frac{a e^{2 (c+d x)}+a+2 b}{\sqrt{a} \sqrt{a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}}}\right )-\tanh ^{-1}\left (\frac{a e^{2 (c+d x)}+a+2 b e^{2 (c+d x)}}{\sqrt{a} \sqrt{a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}}}\right )\right )-\frac{4 \sqrt{a} b \sinh (c+d x) (a \cosh (2 (c+d x))+a+2 b) \left (a^2 \left (45 a^2+60 a b+23 b^2\right ) \cosh (4 (c+d x))+4 a \left (135 a^2 b+45 a^3+117 a b^2+35 b^3\right ) \cosh (2 (c+d x))+709 a^2 b^2+480 a^3 b+135 a^4+460 a b^3+120 b^4\right )}{(a+b)^3}\right )}{960 a^{7/2} d \left (a+b \text{sech}^2(c+d x)\right )^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.152, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b \left ({\rm sech} \left (dx+c\right ) \right ) ^{2} \right ) ^{-{\frac{7}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b \operatorname{sech}\left (d x + c\right )^{2} + a\right )}^{\frac{7}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b \operatorname{sech}\left (d x + c\right )^{2} + a\right )}^{\frac{7}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]